<form action="#">
<div class="file-field input-field">
<div class="btn">
<span>File</span>
<input type="file">
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
</div>
</div>
</form>
input:-webkit-autofill + label {
font-size: 0.8rem;
transform: translateY(-140%); }